Don't try to include termcap.h; see comment there.
authorGerd Moellmann <gerd@gnu.org>
Tue, 21 Nov 2000 12:04:32 +0000 (12:04 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 21 Nov 2000 12:04:32 +0000 (12:04 +0000)
src/cm.c
src/term.c

index 144baa847b5c1d10cca6ce9b2e6aa4eeda0ad512..56a1160c5936c9a38b38d048cb9e176475d48207 100644 (file)
--- a/src/cm.c
+++ b/src/cm.c
@@ -25,7 +25,11 @@ Boston, MA 02111-1307, USA.  */
 #include "cm.h"
 #include "termhooks.h"
 
-#ifdef HAVE_TERMCAP_H
+/* For now, don't try to include termcap.h.  On some systems,
+   configure finds a non-standard termcap.h that the main build
+   won't find.  */
+
+#if defined HAVE_TERMCAP_H && 0
 #include <termcap.h>
 #else
 extern void tputs P_ ((const char *, int, int (*)(int)));
index fc96d7d7129d9807613b1f1cb81c8d45e378c797..8e1443f45073ce9c7beb8472d5b13b61196e5ca5 100644 (file)
@@ -38,7 +38,11 @@ Boston, MA 02111-1307, USA.  */
 #include "dispextern.h"
 #include "window.h"
 
-#ifdef HAVE_TERMCAP_H
+/* For now, don't try to include termcap.h.  On some systems,
+   configure finds a non-standard termcap.h that the main build
+   won't find.  */
+
+#if defined HAVE_TERMCAP_H && 0
 #include <termcap.h>
 #else
 extern void tputs P_ ((const char *, int, int (*)(int)));